import { _decorator, Component, Node, Vec2 } from 'cc';
const { ccclass, property } = _decorator;


//一段贝塞尔曲线的路径信息类
export class PathPoint {

    startPos: number[];
    controlPos: number[];
    endPos: number[];
    speed: number;
    turnState: string;

    constructor(startPos: number[], controlPos: number[], endPos: number[], speed: number, turnState: string) {
        this.startPos = startPos;
        this.controlPos = controlPos;
        this.endPos = endPos;
        this.speed = speed;
        this.turnState = turnState;
    }
}
